using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using emp.ProcessFlow.SysManage;

namespace emp.Web.UI
{
    public partial class OrganizList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                OrganizController iCon = new OrganizController();
                iCon.LeafImageUrl = "../../pub/crm/images/ftv2doc.gif";
                iCon.NodeImageUrl = "../../pub/crm/images/ftv2folderclosed.gif";

                string sAddURL = "organiz_add.aspx";
                string sModifyURL = "organiz_modify.aspx";
                string sDelURL = "organiz_del.aspx";

                iCon.CreateTreeView(MyTreeView, sAddURL, sModifyURL, sDelURL, "1");
            }
        }
    }
}
